package com.hhkj.study.admin.course.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 课程关联资源统计
 * @author lw
 */
@Accessors(chain = true)
@Data
public class CourseAssocResourceStat {

    /**
     * 课程id
     */
    private Long courseId;

    /**
     * 资源类型: video,live,doc,question,offline
     */
    private String resourceType;

    /**
     * 资源id列表
     */
    private List<Long> resourceIdList;

    /**
     * 资源总数
     */
    private Integer resourceCount;

    /**
     * 针对于类型为video时,课时总时长 s
     */
    private Long videoTotalDuration;
}
